<#import "desktop.ftl" as d>
<#import "../spring.ftl" as spring>

<@d.desktop>

	<h1><@spring.message "filipides.index.title" /></h1>
	${texts.getText("filipides_index_text")}
	<div id="contact_form">
		<form method="post" action="save.html" id="main_form" name="main_form">
			<div>
				<@spring.bind "emailForm.email" />
				<input 
					type="text" 
					autocomplete="off"
					id="email" 
					name="${spring.status.expression}"  
					value="${spring.status.value?default("")}" />
				<@spring.showErrors separator="|" classOrStyle="validation_error" />
				<#if emailForm.error>
					<span class="validation_error">${emailForm.errorMsg}</span>
				</#if>
			</div>
			<div style="margin-top: 10px;">
				<button>Enviar</button>
			</div> 
		</form>
	</div>

</@d.desktop>